<template>
  <div class="app-container">
    <el-row :gutter="20">
      <el-col :span="12" :xs="24">
        <el-card>
          <div slot="header" class="clearfix">
            <span>二要素校验</span>
          </div>
          <el-tabs v-model="activeTab">
            <el-tab-pane label="单个输入校验" name="inputType">
              <inputType :user="user" />
            </el-tab-pane>
            <el-tab-pane label="批量导入校验" name="importType">
              <importType :user="user" />
            </el-tab-pane>
          </el-tabs>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import inputType from "./inputType";
import importType from "./importType";

export default {
  name: "Check",
  components: {  inputType, importType },
  data() {
    return {
      user: {},
      activeTab: "inputType"
    };
  },
  created() {
    // this.getUser();
  },
  methods: {
    // getUser() {
    //   getUserProfile().then(response => {
    //     this.user = response.data;
    //     this.roleGroup = response.roleGroup;
    //     this.postGroup = response.postGroup;
    //   });
    // }
  }
};
</script>
